<?php
/**
 * Created by PhpStorm.
 * User: HuyNguyen
 * Date: 4/23/14
 * Time: 4:23 PM
 */

Yii::import('zii.widgets.CMenu');

class TopMenu extends CMenu
{
    /**
     * Initialize the widget
     */
    public function init()
    {
        $criteria = new CDbCriteria;
        $criteria->condition = 't.FIXED_YN=\'Y\'';

        $items = Category::model()->findAll($criteria);

        //parent::init();
    }

} 